package cn.stylefeng.guns.modular.gridsystem.modbus;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "app.modbus-tcp")
@Configuration
@Data
public class ModbusTcpConfig {

    private int port;//502
    private int slaveId; //1

}
